package com.express.core.mapper;

import com.express.entity.Address;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface AddressMapper {

    List<Address> query(Map map);

    int save(Address address);

    int delete(Address address);

    int update(Address address);

    int deleteByIds(int[] ids);

    int invalidAddress(int id);
}

